﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Entities
{
    /// <summary>
    /// Store alls information about content replie of User
    /// </summary>
    public class Reply
    {
        #region Variable Private
        private int _replyID;
        private int _postID;
        private int _userID;
        private DateTime _replyDate;
        private string _body;
        private bool _status;        
        #endregion

        #region Properties Public
        public int ReplyID
        {
            get { return _replyID; }
            set { _replyID = value; }
        }
        public int PostID
        {
            get { return _postID; }
            set { _postID = value; }
        }
        public int UserID
        {
            get { return _userID; }
            set { _userID = value; }
        }
        public DateTime ReplyDate
        {
            get { return _replyDate; }
            set { _replyDate = value; }
        }
        public string Body
        {
            get { return _body; }
            set { _body = value; }
        }
        public bool Status
        {
            get { return _status; }
            set { _status = value; }
        } 
        #endregion

        #region Constructor
        public Reply() { }
        public Reply(int replyId, int postId, int userId, DateTime replyDate, string body, bool status)
        {
            this.ReplyID = replyId;
            this.PostID = postId;
            this.UserID = userId;
            this.ReplyDate = replyDate;
            this.Body = body;
            this.Status = status;
        } 
        #endregion
    }
}
